﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BAB RID: 2987
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyGiveUpCurContentScRsp : IMessage<MonopolyGiveUpCurContentScRsp>, IMessage, IEquatable<MonopolyGiveUpCurContentScRsp>, IDeepCloneable<MonopolyGiveUpCurContentScRsp>, IBufferMessage
	{
		// Token: 0x170025AA RID: 9642
		// (get) Token: 0x0600859F RID: 34207 RVA: 0x00163A05 File Offset: 0x00161C05
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyGiveUpCurContentScRsp> Parser
		{
			get
			{
				return MonopolyGiveUpCurContentScRsp._parser;
			}
		}

		// Token: 0x170025AB RID: 9643
		// (get) Token: 0x060085A0 RID: 34208 RVA: 0x00163A0C File Offset: 0x00161C0C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyGiveUpCurContentScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170025AC RID: 9644
		// (get) Token: 0x060085A1 RID: 34209 RVA: 0x00163A1E File Offset: 0x00161C1E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyGiveUpCurContentScRsp.Descriptor;
			}
		}

		// Token: 0x060085A2 RID: 34210 RVA: 0x00163A25 File Offset: 0x00161C25
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGiveUpCurContentScRsp()
		{
		}

		// Token: 0x060085A3 RID: 34211 RVA: 0x00163A2D File Offset: 0x00161C2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGiveUpCurContentScRsp(MonopolyGiveUpCurContentScRsp other) : this()
		{
			this.contentId_ = other.contentId_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060085A4 RID: 34212 RVA: 0x00163A5E File Offset: 0x00161C5E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGiveUpCurContentScRsp Clone()
		{
			return new MonopolyGiveUpCurContentScRsp(this);
		}

		// Token: 0x170025AD RID: 9645
		// (get) Token: 0x060085A5 RID: 34213 RVA: 0x00163A66 File Offset: 0x00161C66
		// (set) Token: 0x060085A6 RID: 34214 RVA: 0x00163A6E File Offset: 0x00161C6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ContentId
		{
			get
			{
				return this.contentId_;
			}
			set
			{
				this.contentId_ = value;
			}
		}

		// Token: 0x170025AE RID: 9646
		// (get) Token: 0x060085A7 RID: 34215 RVA: 0x00163A77 File Offset: 0x00161C77
		// (set) Token: 0x060085A8 RID: 34216 RVA: 0x00163A7F File Offset: 0x00161C7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060085A9 RID: 34217 RVA: 0x00163A88 File Offset: 0x00161C88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyGiveUpCurContentScRsp);
		}

		// Token: 0x060085AA RID: 34218 RVA: 0x00163A96 File Offset: 0x00161C96
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyGiveUpCurContentScRsp other)
		{
			return other != null && (other == this || (this.ContentId == other.ContentId && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060085AB RID: 34219 RVA: 0x00163AD4 File Offset: 0x00161CD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ContentId != 0U)
			{
				num ^= this.ContentId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060085AC RID: 34220 RVA: 0x00163B2C File Offset: 0x00161D2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060085AD RID: 34221 RVA: 0x00163B34 File Offset: 0x00161D34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060085AE RID: 34222 RVA: 0x00163B40 File Offset: 0x00161D40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ContentId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.ContentId);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060085AF RID: 34223 RVA: 0x00163B9C File Offset: 0x00161D9C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ContentId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ContentId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060085B0 RID: 34224 RVA: 0x00163BF4 File Offset: 0x00161DF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyGiveUpCurContentScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ContentId != 0U)
			{
				this.ContentId = other.ContentId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060085B1 RID: 34225 RVA: 0x00163C44 File Offset: 0x00161E44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060085B2 RID: 34226 RVA: 0x00163C50 File Offset: 0x00161E50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					if (num != 104U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.ContentId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040032FE RID: 13054
		private static readonly MessageParser<MonopolyGiveUpCurContentScRsp> _parser = new MessageParser<MonopolyGiveUpCurContentScRsp>(() => new MonopolyGiveUpCurContentScRsp());

		// Token: 0x040032FF RID: 13055
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003300 RID: 13056
		public const int ContentIdFieldNumber = 12;

		// Token: 0x04003301 RID: 13057
		private uint contentId_;

		// Token: 0x04003302 RID: 13058
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04003303 RID: 13059
		private uint retcode_;
	}
}
